package com.atguigu.gmall.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@Component //要绑定必须放在ioc
@ConfigurationProperties(prefix = "app.auth")
@Data
public class AuthUrlProperties {
    private List<String> anyoneUrl;//直接放行

    private  List<String> denyUrl;//任何情况拒绝请求

    private  List<String> authUrl; //必须认证之后才能访问的路径

    private  String loginPage;  //登录页面地址
}
